package com.exmaple.lemlin.ui.fragment;

import android.webkit.WebView;
import android.webkit.WebViewClient;

import com.exmaple.lemlin.R;
import com.exmaple.lemlin.ui.abstracts.AbstractBaseFragment;

import butterknife.BindView;

public class MainFindFragment extends AbstractBaseFragment {

    @BindView(R.id.web_view)
    WebView webView;

    @Override
    protected int getLayoutId() {
        return R.layout.fragment_main_find;
    }

    @Override
    protected void initView() {
        webView.setWebViewClient(new WebViewClient());
        webView.getSettings().setDomStorageEnabled(true);
        webView.getSettings().setDatabaseEnabled(true);
        webView.getSettings().setJavaScriptEnabled(true);
        webView.loadUrl("https://www.tmall.com/");
    }

    @Override
    protected void initPresenter() {

    }

    @Override
    protected void initLazyLoad() {

    }
}
